package com.peanut.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.dto.TabCarBrandDTO;
import com.peanut.pojo.TabCarBrand;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TabBrandMapper extends BaseMapper<TabCarBrandDTO> {
    @Select("select*from tab_car_brand")
    List<TabCarBrandDTO> selectAlls();

    List<TabCarBrandDTO> selectList(QueryWrapper<TabCarBrand> queryWrapper);

}
